package BryantChad.LunchTimeScoreCard;

import java.io.Serializable;

public class CostabiHand implements Serializable {
	private boolean isDealer_;
	private int bid_;
	private int taken_;
	
	public CostabiHand() {
		isDealer_ = false;
		bid_ = -1; //set to -1 so the default score is not 10
		taken_= 0;
	}
	
	public CostabiHand(boolean isDealer, int bid, int taken) {
		isDealer_ = isDealer;
		bid_ = bid;
		taken_= taken;
	}

	public boolean isDealer() {
		return isDealer_;
	}

	public void setDealer(boolean isDealer) {
		this.isDealer_ = isDealer;
	}

	public int getBid() {
		return bid_;
	}

	public void setBid(int bid) {
		this.bid_ = bid;
	}

	public int getTaken() {
		return taken_;
	}

	public void setTaken(int taken) {
		this.taken_ = taken;
	}
	
	public boolean isMadeBid() {
		return (bid_ == taken_);
	}
}
